/**
 * @file
 * @author  Tsin Smith <tsin.creator@gmail.com>
 *
 * @section DESCRIPTION
 *
 */

#ifndef __TSINIDE_LINENUMBERAREA_HPP__
#define __TSINIDE_LINENUMBERAREA_HPP__

#include <QWidget>

class CodeEditor;

class LineNumberArea : public QWidget
{
        Q_OBJECT

public:
        LineNumberArea(CodeEditor *editor = 0);
        ~LineNumberArea();

        QSize sizeHint() const;

protected:
        void paintEvent(QPaintEvent *event);

private:
        CodeEditor *codeEditor;
};

#endif /* __TSINIDE_LINENUMBERAREA_HPP__ */
